package com.oracle.user.feign;

import com.oracle.user.feign.impl.RoleFeignServiceImpl;
import com.oracle.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ora-role",fallback = RoleFeignServiceImpl.class)
public interface RoleFeignService {


    @GetMapping("/role/info/{id}")
    public R info(@PathVariable("id") Integer id);

}
